package com.mywang.weitravel.modules.mine;

import com.mywang.weitravel.base.BaseContract;
import com.mywang.weitravel.model.UserBean;

/**
 * Created by wangmingyun on 2019/12/5.
 */
public interface MineContract {

    interface View extends BaseContract.IView {
        void signSuccessful();

        void calculateCacheSizeSuccessful(String cacheStr);

        void cleanCacheSuccessful();

        void getUserInfoSuccessful(UserBean userBean);

        void uploadAvatarSuccessful(String url);

    }

    interface Presenter extends BaseContract.IPresenter<MineContract.View> {
        void sign();

        void calculateCacheSize();

        void cleanCache();

        void getUserInfo();

        void uploadAvatar(String filePath);

    }
}
